
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>登录</title>
    <link rel="stylesheet" href="/assets/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/layui/css/style.css">
    <link rel="icon" href="/assets/layui/images/img/code.png">
    <script type="text/javascript">
        if(self!=top){
            top.location.href = '/login'
        }
    </script>
</head>
<body>

<div class="login-main">
    <header class="layui-elip">后台登录</header>
    <form class="layui-form" method="post" action="/login">
        <div class="layui-input-inline">
            <input type="text" name="username" required  lay-verify="required" placeholder="用户名" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-input-inline">
            <input type="password" name="password" required  lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-input-inline login-btn">
            <button type="submit" class="layui-btn">登录</button>
        </div>
        <div>
            <br/>
            <p>${(errorMsg)!}</p>
        </div>
    </form>
</div>


<script src="/assets/layui/jquery-3.2.0.min.js"></script>

</body>
</html>